package com.swh.spit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Bean;
import com.swh.utils.IdUtil;

/**
 * @Description
 * @author swh
 * @date 2021-01-13 17:36:42
*/
@SpringBootApplication
@EnableEurekaClient
//@SpringBootApplication(exclude = MongoAutoConfiguration.class)
public class SpitApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpitApplication.class, args);
	}

	@Bean
	public IdUtil idUtil(){
		return new IdUtil();
	}
	
}
